
package cs
import (
	"sanguo/codec/pb"
	"sanguo/protocol/cs/message"
)

func init() {
	//toS
	pb.Register("cs",&message.HeartbeatToS{},1)
	pb.Register("cs",&message.EchoToS{},2)
	pb.Register("cs",&message.LoginToS{},3)
	pb.Register("cs",&message.GameLoginToS{},4)
	pb.Register("cs",&message.ReconnectToS{},5)
	pb.Register("cs",&message.KickToS{},6)
	pb.Register("cs",&message.ServerListToS{},7)
	pb.Register("cs",&message.RoleListToS{},8)
	pb.Register("cs",&message.SelectRoleToS{},9)
	pb.Register("cs",&message.CreateRoleToS{},10)
	pb.Register("cs",&message.DeleteRoleToS{},11)
	pb.Register("cs",&message.EnterMapToS{},12)
	pb.Register("cs",&message.EnterSeeToS{},13)
	pb.Register("cs",&message.LeaveSeeToS{},14)
	pb.Register("cs",&message.MoveToS{},15)
	pb.Register("cs",&message.UpdatePosToS{},16)
	pb.Register("cs",&message.LeaveMapToS{},17)
	pb.Register("cs",&message.RoleMissionToS{},18)
	pb.Register("cs",&message.AcceptMissionToS{},19)
	pb.Register("cs",&message.CompleteMissionToS{},20)
	pb.Register("cs",&message.TalkToNpcToS{},21)
	pb.Register("cs",&message.TouchWayPointToS{},22)
	pb.Register("cs",&message.RoleAttrToS{},23)
	pb.Register("cs",&message.RoleItemToS{},24)
	pb.Register("cs",&message.RoleSoulToS{},25)
	pb.Register("cs",&message.RoleWeaponToS{},26)
	pb.Register("cs",&message.TeleportPointToS{},27)
	pb.Register("cs",&message.UseItemToS{},28)
	pb.Register("cs",&message.StartAoiToS{},29)
	pb.Register("cs",&message.RoleBattleAttrToS{},30)
	pb.Register("cs",&message.RoleWeaponShardToS{},31)
	pb.Register("cs",&message.EquipWeaponToS{},32)
	pb.Register("cs",&message.DemountWeaponToS{},33)
	pb.Register("cs",&message.ExchangeWeaponToS{},34)
	pb.Register("cs",&message.EnterInstanceZoneToS{},35)
	pb.Register("cs",&message.EndInstanceZoneToS{},36)
	pb.Register("cs",&message.GiftBagToS{},37)
	pb.Register("cs",&message.ChangeOutlineToS{},38)
	pb.Register("cs",&message.WeaponUpStarToS{},39)
	pb.Register("cs",&message.StarMapUpLevelToS{},40)
	pb.Register("cs",&message.StarMapCollectionAwardToS{},41)
	pb.Register("cs",&message.RoleStarMapToS{},42)
	pb.Register("cs",&message.RoleSkillToS{},43)
	pb.Register("cs",&message.UnlockSkillToS{},44)
	pb.Register("cs",&message.SkillLevelupToS{},45)
	pb.Register("cs",&message.SetSkillToS{},46)
	pb.Register("cs",&message.ResetSkillPointToS{},47)
	pb.Register("cs",&message.SoulUpStarToS{},48)
	pb.Register("cs",&message.SoulUpLevelToS{},49)
	pb.Register("cs",&message.SoulMoveLevelToS{},50)
	pb.Register("cs",&message.WeaponEquipSoulToS{},51)
	pb.Register("cs",&message.WeaponDemountSoulToS{},52)
	pb.Register("cs",&message.EnterCampaignToS{},53)
	pb.Register("cs",&message.ChatToS{},54)
	pb.Register("cs",&message.DrawCardToS{},55)
	pb.Register("cs",&message.BuyToS{},56)
	pb.Register("cs",&message.RoleDrawCardToS{},57)
	pb.Register("cs",&message.GameMasterToS{},58)
	pb.Register("cs",&message.TimeToS{},59)
	pb.Register("cs",&message.ResurgenceToS{},60)
	pb.Register("cs",&message.RoleBossZoneToS{},61)
	pb.Register("cs",&message.EnterBossZoneToS{},62)
	pb.Register("cs",&message.SoulResolveToS{},63)
	pb.Register("cs",&message.TeamListToS{},64)
	pb.Register("cs",&message.CreateTeamToS{},65)
	pb.Register("cs",&message.ChangeTeamInfoToS{},66)
	pb.Register("cs",&message.LeaveTeamToS{},67)
	pb.Register("cs",&message.UpdateTeamToS{},68)
	pb.Register("cs",&message.KickTeammateToS{},69)
	pb.Register("cs",&message.JoinTeamToS{},70)
	pb.Register("cs",&message.ApplyToS{},71)
	pb.Register("cs",&message.ReplyJoinTeamToS{},72)
	pb.Register("cs",&message.CallTeammateToS{},73)
	pb.Register("cs",&message.ReplyFightInviteToS{},74)
	pb.Register("cs",&message.UpdateFightInviteToS{},75)
	pb.Register("cs",&message.MatchToS{},76)
	pb.Register("cs",&message.RoomEnterRoomToS{},5001)
	pb.Register("cs",&message.RoomAddObjToS{},5002)
	pb.Register("cs",&message.RoomRemObjToS{},5003)
	pb.Register("cs",&message.RoomMoveToS{},5004)
	pb.Register("cs",&message.RoomUpdatePosToS{},5005)
	pb.Register("cs",&message.RoomObjectStateChangeToS{},5006)
	pb.Register("cs",&message.RoomUpdateObjectStateToS{},5007)
	pb.Register("cs",&message.RoomHitToS{},5008)
	pb.Register("cs",&message.RoomUpdateHitToS{},5009)

	//toC
	pb.Register("sc",&message.HeartbeatToC{},1)
	pb.Register("sc",&message.EchoToC{},2)
	pb.Register("sc",&message.LoginToC{},3)
	pb.Register("sc",&message.GameLoginToC{},4)
	pb.Register("sc",&message.ReconnectToC{},5)
	pb.Register("sc",&message.KickToC{},6)
	pb.Register("sc",&message.ServerListToC{},7)
	pb.Register("sc",&message.RoleListToC{},8)
	pb.Register("sc",&message.SelectRoleToC{},9)
	pb.Register("sc",&message.CreateRoleToC{},10)
	pb.Register("sc",&message.DeleteRoleToC{},11)
	pb.Register("sc",&message.EnterMapToC{},12)
	pb.Register("sc",&message.EnterSeeToC{},13)
	pb.Register("sc",&message.LeaveSeeToC{},14)
	pb.Register("sc",&message.MoveToC{},15)
	pb.Register("sc",&message.UpdatePosToC{},16)
	pb.Register("sc",&message.LeaveMapToC{},17)
	pb.Register("sc",&message.RoleMissionToC{},18)
	pb.Register("sc",&message.AcceptMissionToC{},19)
	pb.Register("sc",&message.CompleteMissionToC{},20)
	pb.Register("sc",&message.TalkToNpcToC{},21)
	pb.Register("sc",&message.TouchWayPointToC{},22)
	pb.Register("sc",&message.RoleAttrToC{},23)
	pb.Register("sc",&message.RoleItemToC{},24)
	pb.Register("sc",&message.RoleSoulToC{},25)
	pb.Register("sc",&message.RoleWeaponToC{},26)
	pb.Register("sc",&message.TeleportPointToC{},27)
	pb.Register("sc",&message.UseItemToC{},28)
	pb.Register("sc",&message.StartAoiToC{},29)
	pb.Register("sc",&message.RoleBattleAttrToC{},30)
	pb.Register("sc",&message.RoleWeaponShardToC{},31)
	pb.Register("sc",&message.EquipWeaponToC{},32)
	pb.Register("sc",&message.DemountWeaponToC{},33)
	pb.Register("sc",&message.ExchangeWeaponToC{},34)
	pb.Register("sc",&message.EnterInstanceZoneToC{},35)
	pb.Register("sc",&message.EndInstanceZoneToC{},36)
	pb.Register("sc",&message.GiftBagToC{},37)
	pb.Register("sc",&message.ChangeOutlineToC{},38)
	pb.Register("sc",&message.WeaponUpStarToC{},39)
	pb.Register("sc",&message.StarMapUpLevelToC{},40)
	pb.Register("sc",&message.StarMapCollectionAwardToC{},41)
	pb.Register("sc",&message.RoleStarMapToC{},42)
	pb.Register("sc",&message.RoleSkillToC{},43)
	pb.Register("sc",&message.UnlockSkillToC{},44)
	pb.Register("sc",&message.SkillLevelupToC{},45)
	pb.Register("sc",&message.SetSkillToC{},46)
	pb.Register("sc",&message.ResetSkillPointToC{},47)
	pb.Register("sc",&message.SoulUpStarToC{},48)
	pb.Register("sc",&message.SoulUpLevelToC{},49)
	pb.Register("sc",&message.SoulMoveLevelToC{},50)
	pb.Register("sc",&message.WeaponEquipSoulToC{},51)
	pb.Register("sc",&message.WeaponDemountSoulToC{},52)
	pb.Register("sc",&message.EnterCampaignToC{},53)
	pb.Register("sc",&message.ChatToC{},54)
	pb.Register("sc",&message.DrawCardToC{},55)
	pb.Register("sc",&message.BuyToC{},56)
	pb.Register("sc",&message.RoleDrawCardToC{},57)
	pb.Register("sc",&message.GameMasterToC{},58)
	pb.Register("sc",&message.TimeToC{},59)
	pb.Register("sc",&message.ResurgenceToC{},60)
	pb.Register("sc",&message.RoleBossZoneToC{},61)
	pb.Register("sc",&message.EnterBossZoneToC{},62)
	pb.Register("sc",&message.SoulResolveToC{},63)
	pb.Register("sc",&message.TeamListToC{},64)
	pb.Register("sc",&message.CreateTeamToC{},65)
	pb.Register("sc",&message.ChangeTeamInfoToC{},66)
	pb.Register("sc",&message.LeaveTeamToC{},67)
	pb.Register("sc",&message.UpdateTeamToC{},68)
	pb.Register("sc",&message.KickTeammateToC{},69)
	pb.Register("sc",&message.JoinTeamToC{},70)
	pb.Register("sc",&message.ApplyToC{},71)
	pb.Register("sc",&message.ReplyJoinTeamToC{},72)
	pb.Register("sc",&message.CallTeammateToC{},73)
	pb.Register("sc",&message.ReplyFightInviteToC{},74)
	pb.Register("sc",&message.UpdateFightInviteToC{},75)
	pb.Register("sc",&message.MatchToC{},76)
	pb.Register("sc",&message.RoomEnterRoomToC{},5001)
	pb.Register("sc",&message.RoomAddObjToC{},5002)
	pb.Register("sc",&message.RoomRemObjToC{},5003)
	pb.Register("sc",&message.RoomMoveToC{},5004)
	pb.Register("sc",&message.RoomUpdatePosToC{},5005)
	pb.Register("sc",&message.RoomObjectStateChangeToC{},5006)
	pb.Register("sc",&message.RoomUpdateObjectStateToC{},5007)
	pb.Register("sc",&message.RoomHitToC{},5008)
	pb.Register("sc",&message.RoomUpdateHitToC{},5009)

}
